* lisp/abbrev.el (abbrev--check-chars): Fix thinko.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Sep 2013 19:36:23 +0000 (15:36 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Sep 2013 19:36:23 +0000 (15:36 -0400)
lisp/ChangeLog
lisp/abbrev.el

index 9d9e24b64a614041d671afff6c16712f373d2670..32a9223009ca5735b2a6513b69bc58259c5b7629 100644 (file)
@@ -1,3 +1,7 @@
+2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
+
 2013-08-23  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/package.el (package-buffer-info): Fix message typo.
index bd09653103f07a662c16077b2850617f2e7e4c5e..1fe5c0c4786b7a32cb0868485af4a5bd49d0c300 100644 (file)
@@ -615,9 +615,9 @@ An obsolete but still supported calling form is:
   "Check if the characters in ABBREV have word syntax in either the
 current (if global is nil) or standard syntax table."
   (with-syntax-table
-      (cond ((null global) (standard-syntax-table))
+      (cond ((null global) (syntax-table))
             ;; ((syntax-table-p global) global)
-            (t (syntax-table)))
+            (t (standard-syntax-table)))
     (when (string-match "\\W" abbrev)
       (let ((badchars ())
             (pos 0))